<svg xmlns="http://www.w3.org/2000/svg" height="20" id="go-badge-svg" version="1.1" width="${text_width+67}">
  <defs>
    <linearGradient id="a" x1="50%" x2="50%" y1="0%" y2="100%">
      <stop offset="0" stop-color="#434c55"/>
      <stop offset="1" stop-color="#24292f"/>
    </linearGradient>
    <linearGradient id="b" x1="50%" x2="50%" y1="0%" y2="99.812606%">
      <stop offset="0" stop-color="#d02626"/>
      <stop offset="1" stop-color="#aa1d1d"/>
    </linearGradient>
  </defs>
  <rect fill="url(#a)" height="20" id="go-badge-head" rx="3" ry="3" width="${text_width+26}"/>
  <g transform="translate(4 2)">
    <circle cx="8" cy="8" fill="#c71d23" r="8"/>
    <path d="m12.0493849 7.11125721h-4.54318484c-.21814496.00010347-.39500241.1769146-.395163.39505953l-.00025864.98760928c-.00016387.21818533.17666399.39510583.39484935.39516297.00003558.00000001.00007116.00000001.00010674-.00010672l2.76588239-.00002305c.2181854-.00000511.395061.1768676.3950629.39505297 0 .0000011 0 .00000219-.0000033.00000329v.09875388.0987659c0 .65455614-.5306226 1.18517864-1.18517868 1.18517864h-3.75335976c-.21815405-.0000109-.39500453-.1768565-.39502144-.3950105l-.00010345-3.7529959c-.00005072-.65455609.53055721-1.18519327 1.18511331-1.18521132.00001089 0 .00002178 0 .00003267.00003267h5.53012315c.2180897-.0002451.3949242-.17696998.3953046-.39505947l.0006125-.98760941c.0003803-.21818517-.1763842-.39516902-.3945695-.39530435-.0000817-.00000005-.0001633-.00000008-.000245.00024488h-5.53088272c-1.63639023 0-2.96294662 1.32655639-2.96294662 2.96294663v5.53063777c0 .2181854.17687418.3950595.39505955.3950595h5.82723572c1.47271897 0 2.66659357-1.1938746 2.66659357-2.66659357v-2.27153407c0-.21818537-.1768741-.39505955-.3950595-.39505955z" fill="#fff"/>
  </g>
  <text fill="white" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11" id="go-badge-head-text" x="24" y="13">
    ${name}
  </text>
  <rect fill="url(#b)" height="20" id="go-badge-foot" rx="3" ry="3" width="43" x="${text_width+24}"/>
  <rect fill="url(#b)" height="20" id="go-badge-center" width="3" x="${text_width+24}"/>
  <text fill="white" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11" id="go-badge-foot-text" x="${text_width+29}" y="13">failing</text>
</svg>